package com.summer.proxy2;
import java.util.Random;

/**
 * 对tank进行动态代理
 */
public class Tank implements Moveable{
    @Override
    public void move(){
        System.out.println("move........");
        try{
            Thread.sleep(new Random().nextInt(10000));
        }catch (InterruptedException e){
            e.printStackTrace();
        }
    }
}
